package com.webreport.model.db;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "r")
public class Report implements java.io.Serializable{
	
	private static final long serialVersionUID = 1L;
	// 代码
	@Id
	@Column(nullable = false, length = 40,name="a")
	private String reportid;
	// 名称
	@Column(nullable = false, length = 200,name="b")
	private String reportname;
	// 报表目的
	@Column(nullable = false, length = 300,name="c")
	private String accessurl;
	// 菜单分类
	@Column(nullable = false, length = 40,name="d")
	private String menuid;
	// 报表类型
	@Column(nullable = false, length = 40,name="e")
	private String type;
	// 类型名称
	@Column(nullable = false, length = 200,name="f")
	private String typename;
	// 项目名称
	@Column(nullable = true, length = 500,name="g")
	private String projectname;
	// 报表创建时间
	@Column(nullable = false, length = 20,name="h")
	private Date createtime;
	// 报表修改时间
	@Column(nullable = false, length = 20,name="i")
	private Date updatetime;
	// IT负责人
	@Column(nullable = false, length = 200,name="j")
	private String itowner;
	// 业务负责人
	@Column(nullable = false, length = 200,name="k")
	private String bussinessowner;
	// 报表描述
	@Column(nullable = false, length = 300,name="l")
	private String description;
	// 报表目的
	@Column(nullable = false, length = 300,name="m")
	private String purpose;
	
	@Column(nullable = false,name="n")
	private boolean enabled;
	@Column(nullable = true,name="o")
	private byte[] img;
	public String getReportid() {
		return reportid;
	}
	
	public void setReportid(String reportid) {
		this.reportid = reportid;
	}
	
	public String getReportname() {
		return reportname;
	}
	
	public void setReportname(String reportname) {
		this.reportname = reportname;
	}
	
	public String getType() {
		return type;
	}
	
	public void setType(String type) {
		this.type = type;
	}
	
	public String getTypename() {
		return typename;
	}
	
	public void setTypename(String typename) {
		this.typename = typename;
	}
	
	public String getProjectname() {
		return projectname;
	}
	
	public void setProjectname(String projectname) {
		this.projectname = projectname;
	}
	
	public Date getCreatetime() {
		return createtime;
	}
	
	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}
	
	public Date getUpdatetime() {
		return updatetime;
	}
	
	public void setUpdatetime(Date updatetime) {
		this.updatetime = updatetime;
	}
	
	public String getItowner() {
		return itowner;
	}
	
	public void setItowner(String itowner) {
		this.itowner = itowner;
	}
	
	public String getBussinessowner() {
		return bussinessowner;
	}
	
	public void setBussinessowner(String bussinessowner) {
		this.bussinessowner = bussinessowner;
	}
	
	public String getDescription() {
		return description;
	}
	
	public void setDescription(String description) {
		this.description = description;
	}
	
	public String getPurpose() {
		return purpose;
	}
	
	public void setPurpose(String purpose) {
		this.purpose = purpose;
	}
	
	public boolean isEnabled() {
		return enabled;
	}
	
	public void setEnabled(boolean enabled) {
		this.enabled = enabled;
	}

	public String getAccessurl() {
		return accessurl;
	}

	public void setAccessurl(String accessurl) {
		this.accessurl = accessurl;
	}

	public String getMenuid() {
		return menuid;
	}

	public void setMenuid(String menuid) {
		this.menuid = menuid;
	}

	public byte[] getImg() {
		return img;
	}

	public void setImg(byte[] img) {
		this.img = img;
	}
}
